package com.qipay.sp.excutor.deshun;

import com.qipay.core.utils.SpringContextUtil;
import com.qipay.sp.excutor.AbstractExcutor;
import com.qipay.sp.excutor.ExcutorFactory;
import org.springframework.stereotype.Component;

@Component
public class DeshunFactory implements ExcutorFactory {
    @Override
    public AbstractExcutor createWapExcutor(){
        return (AbstractExcutor) SpringContextUtil.getBean(DeshunWapExcutor.class);
    }
    @Override
    public AbstractExcutor createNativeExcutor(){
        return (AbstractExcutor) SpringContextUtil.getBean(DeshunNativeExcutor.class);
    }

}
